gdkproperty-win32.c: Fix gtk-font-name handling
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 14 Mar 2014 08:33:53 +0000 (16:33 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 28 Mar 2014 13:06:14 +0000 (21:06 +0800)
commit9e686d1fb5cb2067e440d6cd6b501c0500390899
tree74839f753fbe881fac959ba82b5dd3c007dd1d85
parentd6f9247f530dc914563faf1867181a2050481534
gdkproperty-win32.c: Fix gtk-font-name handling

...on Windows 8+ and when the system setting for non-Unicode programs do
not match the language version of Windows by falling back to using Pango.

This ensures that the correct font is used during these scenarios, so that
we minimize the risk of seeing garbled characters for texts that the system
code page does not support due to system peculiarties.  There might be a
way to support gtk-font-name handling using the native Windows APIs
directly on Windows 8+, but that needs to be investigated.

https://bugzilla.gnome.org/show_bug.cgi?id=726298
gdk/win32/gdkproperty-win32.c